#!/bin/sh

rules=install
echo rules=$rules

rm -rf work
svn co https://entelijan.net/svn/javaprj/util/showcase-framework/trunc work
mvn -U -f work/pom.xml $rules
if [ $? -ne 0 ] 
then exit 1
fi 

rm -rf work
svn co https://entelijan.net/svn/javaprj/util/data work
mvn -U -f work/pom.xml $rules
if [ $? -ne 0 ] 
then exit 1
fi 

rm -rf work
svn co https://entelijan.net/svn/javaprj/cobean1/cobean-pom work
mvn -U -f work/pom.xml $rules
if [ $? -ne 0 ] 
then exit 1
fi 

rm -rf work

